﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FinanSoft.Entities
{
    public class SaleReportRawData
    {
        #region Attributes
        private int _clientId;
        private int _itemId;
        private int _currencyId;
        private int _documentId;
        private DateTime _saleDate;
        private double _quantity;
        private double _price;
        #endregion

        #region Constructor
        public SaleReportRawData(int clientId, int itemId, int currencyId, int documentId, DateTime saleDate, double quantity, double price)
        {
            _clientId = clientId;
            _itemId = itemId;
            _currencyId = currencyId;
            _documentId = documentId;
            _saleDate = saleDate;
            _quantity = quantity;
            _price = price;
        }
        #endregion

        #region Properties
        public int ClientId
        {
            get
            {
                return _clientId;
            }
            set
            {
                _clientId = value;
            }
        }

        public int ItemId
        {
            get
            {
                return _itemId;
            }
            set
            {
                _itemId = value;
            }
        }

        public int CurrencyId
        {
            get
            {
                return _currencyId;
            }
            set
            {
                _currencyId = value;
            }
        }

        public int DocumentId
        {
            get
            {
                return _documentId;
            }
            set
            {
                _documentId = value;
            }
        }

        public DateTime SaleDate
        {
            get
            {
                return _saleDate;
            }
            set
            {
                _saleDate = value;
            }
        }

        public double Quantity
        {
            get
            {
                return _quantity;
            }
            set
            {
                _quantity = value;
            }
        }

        public double UnitPrice
        {
            get
            {
                return _price;
            }
            set
            {
                _price = value;
            }
        }
        #endregion

    }
}
